package com.details.app.Controller;

import com.details.app.Service.PropertyService;
import com.tamll.Type.DataType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PropertyController {

    @Autowired
    private PropertyService propertyService;


    @GetMapping("specificationParameter")
    public DataType specificationParameter(Integer productId,Integer propertyCategoryId){
        return propertyService.selectPropertyCategoryId(productId, propertyCategoryId);
    }



}
